package June02;

public class T01Test {
    public static void main(String[] args) {
        //创建对象并调用
        T01Manager t01Manager =new T01Manager("001","李三",4000,500);
        String manager1 = t01Manager.toString();
        System.out.println(manager1);
        T01Cook t01Cook =new T01Cook("002","王五",3000);
        String cook1 = t01Cook.toString();
        System.out.println(cook1);
    }
}
